package cn.iocoder.yudao.module.biz.controller.admin.dangerTicket.vo;

import cn.iocoder.yudao.framework.common.util.date.DateUtils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.util.Date;

@ApiModel("管理后台 - 危险作业票更新 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class BizDangerTicketUpdateReqVO extends BizDangerTicketBaseVO {

    @ApiModelProperty(value = "", required = true)
    @NotNull(message = "不能为空")
    private String id;

    @ApiModelProperty(value = "作业类型")
    private Integer type;

    @ApiModelProperty(value = "作业票证编号")
    private String number;

    @ApiModelProperty(value = "项目名称")
    private String projectName;

    @ApiModelProperty(value = "申请部门名称")
    private String deptName;

    @ApiModelProperty(value = "部门id")
    private String deptId;

    @ApiModelProperty(value = "人员id")
    private String personnelId;

    @ApiModelProperty(value = "作业人员")
    private String personnelName;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "作业票图片")
    private String iamge;

    @ApiModelProperty(value = "开始时间")
    @DateTimeFormat(pattern = DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date startTime;

    @ApiModelProperty(value = "结束时间")
    @DateTimeFormat(pattern = DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date endTime;

}
